using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using SpringWaterDataAccess;

namespace sow
{
    public partial class forumsList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                ForumDataAccess fd = new ForumDataAccess();

                DataSet fdDS = fd.GetPostAndRepliesByPostID(1356);

                DataList1.DataSource = fdDS;
                DataList1.DataBind();

                
            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {

        }

        protected void DataList1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}
